package com.adinnet.api.peaseRecord.service;

import com.adinnet.api.peaseRecord.model.PeaseRecord;
import com.adinnet.api.peaseRecord.model.VO.PeaseRecordForm;
import com.adinnet.api.peaseRecord.model.VO.ShareReq;
import com.adinnet.core.JsonResult;
import com.adinnet.core.PageResp;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 豌豆记录表 服务类
 * </p>
 *
 * @author chenjia
 * @since 2020-12-02
 */
public interface PeaseRecordService extends IService<PeaseRecord> {


    List<PeaseRecord> getPeaseRecords(Integer childId);

    JsonResult collectPease(Integer peaseId);

    JsonResult collectRattan(Integer childId);

    JsonResult getPeaseRecordList(PeaseRecordForm form);

    JsonResult share(ShareReq shareReq);

    void testJg(Integer childId);

}
